package org.cuatrovientos.player;


/**
 * represent a player
 * 
 * @author david_berrade
 *
 */
public class Player {

	private String name;
	private String position;
	private int numbers;
	
	
	
	
	/**
	 * @param name
	 * @param position
	 * @param numbers
	 */
	public Player(String name, String position, int numbers) {
		super();
		this.name = name;
		this.position = position;
		this.numbers = numbers;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the position
	 */
	public String getPosition() {
		return position;
	}
	/**
	 * @param position the position to set
	 */
	public void setPosition(String position) {
		this.position = position;
	}
	/**
	 * @return the numbers
	 */
	public int getNumbers() {
		return numbers;
	}
	/**
	 * @param numbers the numbers to set
	 */
	public void setNumbers(int numbers) {
		this.numbers = numbers;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "Player [name=" + name + ", position=" + position + ", numbers="
				+ numbers + "]";
	}
	
	
}
